package com.kitty.game.house.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 家具数据
 */
@MessageMeta(module = Modules.MSG_HOUSE_FURNITURE_DATA)
public class RespHouseFurnitureData extends Message {

    private String houseId;
    private int mapIndex;
    //obstacle 障碍物
    private List<Byte> obstacle;
    //hoster_count
    @ListField(3)
    private List<String> hosters;

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public int getMapIndex() {
        return mapIndex;
    }

    public void setMapIndex(int mapIndex) {
        this.mapIndex = mapIndex;
    }

    public List<Byte> getObstacle() {
        return obstacle;
    }

    public void setObstacle(List<Byte> obstacle) {
        this.obstacle = obstacle;
    }

    public List<String> getHosters() {
        return hosters;
    }

    public void setHosters(List<String> hosters) {
        this.hosters = hosters;
    }
}
